/**
 *
 */
package com.naiterui.ehp.bs.recommend.vo.param;

import java.io.Serializable;

import lombok.Data;

import io.swagger.annotations.ApiModelProperty;

/**
 * 临床诊断
 * @author guoyongxiang
 * @since 2.9.0
 */
@Data
public class DiagnosisVO implements Serializable {

    /**
     * 字段或域定义：<code>serialVersionUID</code>
     */
    private static final long serialVersionUID = -5565804029849959867L;
    /**
     * 诊断标识 0:标准库
     */
    public static final int TYPE_STANDARD = 0;
    /**
     * 诊断标识 1:自定义
     */
    public static final int TYPE_CUSTOM = 1;
    //显示删除线
    public static final int DELETE_LINE_SHOW = 1;
    //不显示删除线
    public static final int DELETE_LINE_NO_SHOW = 2;

    /** 诊断id */
    @ApiModelProperty(value = "诊断id", example = "1")
    private Long id;

    /** 诊断名称 */
    @ApiModelProperty(value = "诊断名称", example = "小儿麻痹症")
    private String name;

    /** 诊断标识 0:标准库, 1:自定义 */
    @ApiModelProperty(value = "诊断标识 0:标准库, 1:自定义", example = "0")
    private Integer type;

    /** ICD10标准诊断码 */
    @ApiModelProperty(value = "ICD10标准诊断码")
    private String code;

    /**
     * 主要编码
     */
    @ApiModelProperty(value = "主要编码")
    private String mainCode;
    /**
     * 附加编码
     */
    @ApiModelProperty(value = "附加编码")
    private String attachCode;

    /**
     * 是否显示删除线 1:是, 2:不是
     */
    @ApiModelProperty(value = "是否显示删除线 1:显示, 2:不显示", example = "0")
    private Integer deleteLineShow;

    private Float score;

    private Integer weightDef;

    private Integer weightCustom;

    public DiagnosisVO() {
        super();
    }

    public DiagnosisVO(Long id, String name, Integer type) {
        super();
        this.id = id;
        this.name = name;
        this.type = type;
    }

}
